package cn.gmcx.lazy.izze.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 点赞表，记录谁点赞了哪条视频
 * </p>
 *
 * @author GMCX
 * @since 2024-08-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("praise")
public class Praise implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 点赞表id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 点赞用户的id
     */
    private Integer userId;

    /**
     * 视频的id
     */
    private Integer videoId;


}
